﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_BGM_MAS_Expense
    {
        private Nullable<int> BGM_EXP_SEQ;
        private string BGM_EXP_CODE;
        private string BGM_EXP_NAME;
        private string BGM_EXP_DESCR;
        private Nullable<int> UPPER_BGM_EXP_SEQ;
        private Nullable<int> BGM_EXP_GRP_SEQ;
        private string BGM_EXP_GRP_NAME;
        private Nullable<int> CHILD_COUNT;
        private Nullable<int> EXP_RATE_COUNT;
        private Nullable<int> CLASS_COUNT;

        private string RECORD_STATUS;
        private M_BGM_MAS_Expense M_BGM_MAS_ExpenseUpper;

        public M_BGM_MAS_Expense()
        {

        }

        public M_BGM_MAS_Expense(
            Nullable<int> BGM_EXP_SEQ
            , string BGM_EXP_CODE
            , string BGM_EXP_NAME
            , string BGM_EXP_DESCR
            , Nullable<int> UPPER_BGM_EXP_SEQ
            , Nullable<int> BGM_EXP_GRP_SEQ
            , string BGM_EXP_GRP_NAME
            , Nullable<int> CHILD_COUNT
            , Nullable<int> EXP_RATE_COUNT
            , Nullable<int> CLASS_COUNT

            , string RECORD_STATUS

            , M_BGM_MAS_Expense M_BGM_MAS_ExpenseUpper)
        {
            this.BGM_EXP_SEQ = BGM_EXP_SEQ;
            this.BGM_EXP_CODE = BGM_EXP_CODE;
            this.BGM_EXP_NAME = BGM_EXP_NAME;
            this.BGM_EXP_DESCR = BGM_EXP_DESCR;
            this.UPPER_BGM_EXP_SEQ = UPPER_BGM_EXP_SEQ;
            this.BGM_EXP_GRP_SEQ = BGM_EXP_GRP_SEQ;
            this.BGM_EXP_GRP_NAME = BGM_EXP_GRP_NAME;
            this.CHILD_COUNT = CHILD_COUNT;
            this.EXP_RATE_COUNT = EXP_RATE_COUNT;
            this.CLASS_COUNT = CLASS_COUNT;
            this.RECORD_STATUS = RECORD_STATUS;
            this.M_BGM_MAS_ExpenseUpper = M_BGM_MAS_ExpenseUpper;
        }

        public Nullable<int> bgm_exp_seq
        {
            set { BGM_EXP_SEQ = value; }
            get { return BGM_EXP_SEQ; }
        }

        public string bgm_exp_code
        {
            set { BGM_EXP_CODE = value; }
            get { return BGM_EXP_CODE; }
        }

        public string bgm_exp_name
        {
            set { BGM_EXP_NAME = value; }
            get { return BGM_EXP_NAME; }
        }

        public string bgm_exp_descr
        {
            set { BGM_EXP_DESCR = value; }
            get { return BGM_EXP_DESCR; }
        }

        public Nullable<int> upper_bgm_exp_seq
        {
            set { UPPER_BGM_EXP_SEQ = value; }
            get { return UPPER_BGM_EXP_SEQ; }
        }

        public Nullable<int> bgm_exp_grp_seq
        {
            set { BGM_EXP_GRP_SEQ = value; }
            get { return BGM_EXP_GRP_SEQ; }
        }

        public string bgm_exp_grp_name
        {
            set { BGM_EXP_GRP_NAME = value; }
            get { return BGM_EXP_GRP_NAME; }
        }

        public Nullable<int> child_count
        {
            set { CHILD_COUNT = value; }
            get { return CHILD_COUNT; }
        }

        public Nullable<int> exp_rate_count
        {
            set { EXP_RATE_COUNT = value; }
            get { return EXP_RATE_COUNT; }
        }

        public Nullable<int> class_count
        {
            set { CLASS_COUNT = value; }
            get { return CLASS_COUNT; }
        }

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public M_BGM_MAS_Expense m_bgm_mas_expense_upper
        {
            set { M_BGM_MAS_ExpenseUpper = value; }
            get { return M_BGM_MAS_ExpenseUpper; }
        }
    }
}
